//
//  UseVStack.swift
//  learn-ios
//
//  Created by Dong on 2022/4/5.
//

import SwiftUI

struct UseVStack: View {
    var body: some View {
        VStack{
            ForEach(1...5,id: \.self) { id in
                Text("Item : \(id.description)")
                    .font(.title2)
                    .padding()
            }
        }
    }
}

struct UseVStack_Previews: PreviewProvider {
    static var previews: some View {
        UseVStack()
    }
}
